﻿namespace NTLib.Core.Exceptions.Configuration
{
    using Strings;
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    /// <summary>
    /// 
    /// </summary>
    /// <seealso cref="NTLib.Core.Exceptions.Configuration.ConfigurationException" />
    public class BadParameterConfigurationException : ConfigurationException
    {
        #region Ctor

        /// <summary>
        /// Initializes a new instance of the <see cref="BadParameterConfigurationException"/> class.
        /// </summary>
        /// <param name="parameterName">Name of the bad parameter.</param>
        /// <param name="waited">The value waited for this parameter.</param>
        /// <param name="inner">The inner exception.</param>
        public BadParameterConfigurationException(string parameterName, string waited, Exception inner = null)
            : base(string.Format(ExceptionResources.BadParameterConfigurationException, parameterName, waited), inner)
        {

        }

        #endregion
    }
}
